package com.lwy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwy.entity.BookState;
import org.apache.ibatis.annotations.Mapper;
//状态表dao接口
@Mapper
public interface BookStateMapper extends BaseMapper<BookState> {

    //根据用户和小说id查询
    public BookState findByOrder(Integer user_id,Integer nove_id);
    //根据用户和小说id删除
    public Integer deleteUid(Integer user_id,Integer nove_id);
}